
<template>
  <div>
    <RouterView />
  </div>
</template>

<script setup lang="ts">
import { provide } from 'vue';
import io from "socket.io-client";
const socket = io("http://localhost:8882"); // 连接后端的 socket.io 方法里面传服务端的ip
provide("socket", socket);

</script>

<style lang="less" scoped>
[v-cloak] {
  display: none;
}
</style>
